$(function (){
	$("#button").click(function (){
		
		$.post("login",$("#form").serialize(),function (result){
			if(result == "success"){
				window.location.href = "showPerson";
			}else{
				alert("账号密码错误");
				location.reload();
			}
		})
	})
})